﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Data;
namespace DataAccess
{
   public class TruyXuatLayThongTinChuyenBay
    {
        ChuyenBay _chuyenbay = new ChuyenBay();

        public ChuyenBay chuyenbay
        {
            get { return _chuyenbay; }
            set { _chuyenbay = value; }
        }
        public DataTable ThucThi()
        {
            DataProvider dp = new DataProvider();
            dp.KetNoi();
            string sql = "Select * from ChuyenBay where MaChuyenBay ='"+chuyenbay.MaChuyenBay+"'";
            return dp.ExcuteQuery(sql);
        }
    }
}
